package simple;

/**
 * 客户获取实际的产品
 */
public class Consumer {

    public static void main(String[] args) {
        Car car1 = CarFactory.getCar("Wulin");
        Car car2 = CarFactory.getCar("Audi");
        car1.name();
        car2.name();
    }
}
